use-modern-atomics
authorDebian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>
Wed, 18 Oct 2023 19:50:19 +0000 (22:50 +0300)
committerIlias Tsitsimpis <iliastsi@debian.org>
Wed, 18 Oct 2023 19:50:19 +0000 (22:50 +0300)
commitce7a91c747712eb40369f67214c86187441ff0f0
tree2fedf4ccd60e43ce00006ffb411d69d79482a1a9
parent47eb5cddeb9af57600f8f9b65bc6fdcc515e8f83
use-modern-atomics

commit f8fa1d08d7cbfef508bab355bda80f495e928f98
Author: Ben Gamari <bgamari.foss@gmail.com>
Date:   Mon Apr 17 21:04:47 2023 +0000

    ghc-prim: Use C11 atomics

    Previously `ghc-prim`'s atomic wrappers used the legacy `__sync_*`
    family of C builtins. Here we refactor these to rather use the
    appropriate C11 atomic equivalents, allowing us to be more explicit
    about the expected ordering semantics.

Gbp-Pq: Name use-modern-atomics
libraries/ghc-prim/cbits/atomic.c